from control import tf
from control import pzmap

from control import impulse_response

import matplotlib.pyplot as plt

num = [2]
den = [1,4,3]
Gs = tf(num,den)

print(Gs)

plt.figure(1)
pzmap(Gs)
#plt.show()

plt.figure(2)
y_out = impulse_response(Gs)
plt.plot(y_out[0],y_out[1])
plt.show()
